package entity.geometry;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author lit
 * @date 2018/3/13.
 */
public class GroupXzqh {
    private Integer typeid;

    private List<PolygonXzqh> areas = null;

    public GroupXzqh(Integer typeid){
        this.typeid = typeid;
        areas = new ArrayList<PolygonXzqh>(20);
    }

    public Iterator<PolygonXzqh> getXzqhs(){
        return areas.iterator();
    }

    public void add(PolygonXzqh polygonXzqh){
        areas.add(polygonXzqh);
    }
}
